from keras.models import Sequential
from keras.layers import Dense, Activation
from Keras.optimizers import SGD

model = Sequential()
model.add(Dense(output_dim = 64, input_dim = 100))
model.add(Activation("relu"))
model.add(Dense(output_dim = 10))
model.add(Activation("softmax"))

model.compile(loss = 'categorical_crossentrophy',
optimizer = 'sgd', metrics = ['accuracy'])

model.fit(X_train, Y_train, nb_epoch = 5, batch_size = 32)

loss = model.evaluate(X_test, Y_test, batch_size = 32)